package com.shuyu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(description = "集卡销卡活动需要收集卡片列表")
@TableName("tbl_activity_collect_card")
public class ActivityCollectCard implements Serializable {
    private static final long serialVersionUID = -2176399950622646242L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "活动产品Id")
    private Integer activityProductId;
    @ApiModelProperty(value = "卡片类产品Id")
    private Integer productId;
    @ApiModelProperty(value = "卡片类产品名称")
    private transient String productName;

    public ActivityCollectCard() {
    }

    public ActivityCollectCard(Integer activityProductId, Integer productId) {
        this.activityProductId = activityProductId;
        this.productId = productId;
    }
}
